package designMode.bridge;

/**
 * @Description
 * @Author 肖地洋
 * @Date 2022/8/15 11:36
 */
public class HWPhone extends Phone{

    public HWPhone(Color color){
        super.setColor(color);
    }

    @Override
    public void run() {
        color.useColor();
        System.out.println("HW");
    }
}
